package com.example.qxfw.backgroundManagement.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.qxfw.common.entity.IssuerInfo;

import java.util.HashMap;
import java.util.List;

/************************************
 *
 * @author : HuangDeYin Jolly
 * @since : JDK 11
 * @Date : 2023/7/3  星期一   16:05
 * @description : 此类用来 气象人员管理的业务接口
 ***************************************/
public interface MeteorologicalPersonnelInformationManagementService extends IService<IssuerInfo> {

    List<IssuerInfo> selectPermission();

    IPage<IssuerInfo> selectByPermission(String permission, int pageNo, int pageSize);

    List<IssuerInfo> selectByUserName(String userName);

    Integer insertIssuerInfo(String userName, String phone, String permission);

    Integer updateIssuerInfo(int id, String username, String password, String phone, String permission);

    Integer deleteIssuerInfo(int id);

    //添加人员信息
    Integer insertByAll(IssuerInfo issuerInfo);

    //查询人员信息
    List<IssuerInfo> selectAllIssuerInfo();
}
